Invisible Menus

DOORS version 9.2.0.5

I am creating Explorer and Module menus by 'createMenu' and 'createItem' code in the baseWindowMenuFiles and formalFiles folders. I have some mapping functions in the baseWindowCallbackFiles folder which they use.

Everything works fine except when I return menuInvisible_ for a mapping function used in a menu several levels deep. Whilst this does cause the menu to be invisible, it also causes subsequent visible menus/items to jump up a menu level. If I use menuUnavailable_ instead it works fine.
Has anybody else noticed this (it's a bug) or am I doing something wrong?

Cheers
SystemAdmin - Thu Nov 11 06:54:16 EST 2010